<?php



namespace App\Services\Business\Models;


use App\Services\Business\Models\MediaImage;
use Illuminate\Database\Eloquent\Model;

class MediaImageables extends Model
{
    protected $table = 'media_imageables';

    protected $fillable = [
        'title', 'media_url','path','ref_count','user_id','shop_id',
        'category_id',
    ];



    public function images()
    {
        return $this->belongsTo(MediaImage::class, 'media_image_id');
    }

}
